package com.jerry.common.bean;

import com.jerry.common.ResponseBean;

/**
 * entity --orm--- db_table
 * 必须实现序列化  
 */
@SuppressWarnings("serial")
public class User extends ResponseBean {

	private Long id; // 主键
	private String name; // 名称
	private int age; // 年龄
	private float balance; 

	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	
	public float getBalance() {
		return balance;
	}
	public void setBalance(float balance) {
		this.balance = balance;
	}

	@Override
	public String toString() {
		return "User{" +
				"id=" + id +
				", name='" + name + '\'' +
				", age=" + age +
				", balance=" + balance +
				", host='" + host + '\'' +
				", port=" + port +
				", serverId='" + serverId + '\'' +
				'}';
	}


}
